package com.lizhenhua.fmmall.websocket;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

//@Configuration
public class WebSocketConfig {


    @Bean // 创建ServerEndpointExporter  把他放在spring 容器中
    public ServerEndpointExporter getServerEndpointExporter(){

        return  new ServerEndpointExporter();
    }


}
